import datetime
import random
def getUUidTime():
    list_num = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0]
    veri_str = random.sample( list_num, 2 )
    veri_num = random.sample( list_num, 2 )
    veri_out = random.sample( veri_num + veri_str, 4 )
    veri_res = str( veri_out[0] ) + str( veri_out[1] ) + str( veri_out[2] ) + str( veri_out[3] )
    nowTime = datetime.datetime.now().strftime( "%Y%m%d%H%M%S%f" )
    uniqueNum = str( nowTime )+str(veri_res)
    return uniqueNum

if __name__ == '__main__':
    time = getUUidTime()
    print(time)